def DayUp(df):
    dayup = 1.0
    for i in range(365):
        if i % 30 in [1, 10, 9, 8, 7, 6, 5, 4, 3, 2]:
            dayup = dayup * (1 + df)
        else:
            dayup = dayup
    return dayup

dayfactor = eval(input("请输入每天水平增加值N:"))
for j in range(10):
    dayup = DayUp(dayfactor)
    print("每天水平增加值N:{:.3f}".format(dayfactor))
    print("每月工作10天水平不降的年终值为：{:.3f}".format(dayup))
    dayfactor += 0.001
